package com.hyt.it.ogt.ks.service;


import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.hyt.it.ogt.ks.model.vo.FileItemVO;
import com.hyt.it.ogt.ks.model.vo.paper.FileItemInfo;
import com.hyt.it.ogt.ks.model.vo.paper.FilePicAnswerVO;

public interface IFileItemService {

    void add(FileItemVO FileItemVO);

    FilePicAnswerVO get(String examId, String candidateId, Integer paperSort, String itemId);

    void del(String examId, String candidateId, Integer paperSort, String itemId, String picUrl, HttpServletRequest request);

    FileItemInfo getItemInfo(String examId, String candidateId, Integer paperSort, String itemId);

    boolean allowUpload(String examId, String candidateId, Integer paperSort, String itemId, String type);

    int getLimitByType(String type);

    int getFileMaxSizeByType(String type);
}
